package com.gzl.b2b.demo.entity;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.util.Date;

/**
 * @version 1.0, 2019/4/21
 */
@Document(indexName = "demo")
public class Demo {

    @Id
    private long demoId;
    private String contentbody;
    private Date agentStarttime;
    private String applicationName;
    private String name;

    public long getDemoId() {
        return demoId;
    }

    public void setDemoId(long demoId) {
        this.demoId = demoId;
    }

    public String getContentbody() {
        return contentbody;
    }

    public void setContentbody(String contentbody) {
        this.contentbody = contentbody;
    }

    public Date getAgentStarttime() {
        return agentStarttime;
    }

    public void setAgentStarttime(Date agentStarttime) {
        this.agentStarttime = agentStarttime;
    }

    public String getApplicationName() {
        return applicationName;
    }

    public void setApplicationName(String applicationName) {
        this.applicationName = applicationName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Demo{" +
                "demoId=" + demoId +
                ", contentbody='" + contentbody + '\'' +
                ", agentStarttime=" + agentStarttime +
                ", applicationName='" + applicationName + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
